'use strict';

const { Controller } = require('ee-core');
const Log = require('ee-core/log');
const Services = require('ee-core/services');


class ProgramController extends Controller{

    constructor(ctx) {
        super(ctx);
    }

    checkLocalProgram() {
        Log.info('ProgramController.checkLocalProgram');
        return Services.get('program.program').checkLocalProgram();
    }
}


ProgramController.toString = () => '[class ProgramController]';
module.exports = ProgramController;